﻿using System;
using System.Collections.Generic;
using System.Text;

namespace JacketEmblem.Crane.Dialogs
{
    public class JavaScriptAlertDialog : Dialog
    {
        private string dialogMessage;

        public JavaScriptAlertDialog(string message)
        {
            dialogMessage = message;
        }
        
        public string Message
        {
            get { return dialogMessage; }
        }

        public virtual void ClickOK()
        {
            OnDialogDismissed(new EventArgs());
        }
    }
}
